package bavaria.hightech.accounting;

import java.util.Comparator;

public class ReasonComparator implements Comparator {

	@Override
	public int compare(Object o1, Object o2) {
		
		String r1 = ((Accounting)o1).getReason();
		String r2 = ((Accounting)o2).getReason();
		
		return r1.compareTo(r2);
	}

}
